widget: Only deny a sequence if it was previously claimed
authorCarlos Garnacho <carlosg@gnome.org>
Mon, 2 Jun 2014 15:38:46 +0000 (17:38 +0200)
committerCarlos Garnacho <carlosg@gnome.org>
Tue, 3 Jun 2014 13:59:03 +0000 (15:59 +0200)
commit26ced6abad9fab0dbfd932a00d1ca5f32f479e0e
tree96c8c0cb11f5f47440bfe2f7016935573c553cb6
parentc773859c997bd89dafa1a57d3ba9d819ae0d5ca5
widget: Only deny a sequence if it was previously claimed

Before this change, a sequence being claimed deep in the event propagation
chain would make the sequence go denied on every ancestor, regardless of
previous state.

To make things more consistent, only deny the sequence if it was previously
claimed, so the behavior is the same for gesture groups within the widget
than for those outside the widget.

The gestures testsuite has been updated to reflect this new behavior.
gtk/gtkwidget.c
testsuite/gtk/gestures.c